﻿namespace EyeOpen.VisualStudio2005BackMigration
{
    using System;
    using System.IO;

    public class FileProcessedEventArgs : EventArgs
    {
        private FileInfo processedFile;
        private FileInfo destinationFile;
        private int partialProcessed;
        private int total;

        /// <summary>
        /// Initializes a new instance of the <see cref="FileProcessedEventArgs"/> class.
        /// </summary>
        /// <param name="processedFile">The processed file.</param>
        /// <param name="destinationFile">The destination file.</param>
        /// <param name="partialProcessed">The partial processed.</param>
        /// <param name="total">The total.</param>
        public FileProcessedEventArgs(FileInfo processedFile, FileInfo destinationFile, int partialProcessed, int total)
        {
            this.processedFile = processedFile;
            this.destinationFile = destinationFile;
            this.partialProcessed = partialProcessed;
            this.total = total;
        }

        /// <summary>
        /// Gets the processed file.
        /// </summary>
        /// <value>The processed file.</value>
        public FileInfo ProcessedFile
        {
            get { return this.processedFile; }
        }

        /// <summary>
        /// Gets the destination file.
        /// </summary>
        /// <value>The destination file.</value>
        public FileInfo DestinationFile
        {
            get { return this.destinationFile; }
        }

        /// <summary>
        /// Gets the partial processed.
        /// </summary>
        /// <value>The partial processed.</value>
        public int PartialProcessed
        {
            get { return this.partialProcessed; }
        }

        public int Total
        {
            get { return this.total; }
        }
    }
}